from django.contrib import admin
from django.urls import include
from django.urls import path, re_path
from django.views.static import serve

from django.conf import settings

urlpatterns = [
    path("admin/", admin.site.urls),
    path('user/', include('user.urls')),
    path('travel/', include('travel.urls')),
    re_path(r'^upload/user/avatar(?P<path>.*)$', serve, {'document_root': settings.USER_AVATAR_ROOT}),
]
